package com.chuming.myspring.entitys;

import com.chuming.myspring.annotations.Autowired;
import com.chuming.myspring.annotations.Component;
import com.chuming.myspring.annotations.Qualifier;
import com.chuming.myspring.annotations.Value;
import lombok.Data;

/**
 * @author chuming
 * @create 2022/4/10 - 9:39
 */
@Data
@Component
public class Acount {
    @Value("1")
    private Integer id;
    @Value("张三")
    private String name;
    @Value("22")
    private Integer age;
    @Autowired
    @Qualifier("myOrder")
    private Order order;

}

